package com.mall.module.system.domain.vo;

import lombok.Data;
import java.util.List;

@Data
public class PermissionTreeVO {
    private List<MenuTreeNode> menuTree;  // 菜单树
    private List<Permission> permissions; // 权限列表

    @Data
    public static class MenuTreeNode {
        private Long id;
        private String name;
        private List<MenuTreeNode> children;
    }

    @Data
    public static class Permission {
        private Long id;
        private String name;
        private String permissionKey;
    }
} 